package com.tj.bo.user.client.enums;

/**
 * @program: binary-option
 * @description
 * @author: binary
 * @create: 2020-08-05 21:19
 **/
public enum TriggerTypeEnum {

    USER_TRIGGER(0, "user trigger"),
    MARKET_TRIGGER(1, "market trigger");

    TriggerTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    private Integer code;
    private String name;

    public Integer getCode() {
        return code;
    }

    public TriggerTypeEnum setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public TriggerTypeEnum setName(String name) {
        this.name = name;
        return this;
    }
}
